﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="YSJH.aspx.cs" Inherits="Web_YSJH" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../StyleSheet.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../Tools/My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
        .style1
        {
            text-align: left;
            height: 25px;
            width: 22%;
        }
        .style2
        {
            text-align: left;
            height: 25px;
            width: 19%;
        }
        .style3
        {
            text-align: right;
            height: 25px;
            color: #336600;
            width: 10%;
        }
        .style4
        {
            text-align: left;
            height: 25px;
            width: 26%;
        }
        .style5
        {
            text-align: left;
            height: 25px;
            width: 25%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePartialRendering ="true">
        </asp:ToolkitScriptManager>
    </div>
    <div style="text-align: center;">
        <div style="width: 600px; font-size: 14px; text-align: left;">
            <asp:Label ID="Label1" runat="server" Text=" 运输计划:" 
                ></asp:Label>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                <tr>
                    <td class="tdLeft" style="width: 20%;">
                        <asp:Label ID="Label2" runat="server" Text="库区" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:DropDownList ID="ddlKu" Width="105px" runat="server" AutoPostBack="True" onselectedindexchanged="ddlKu_SelectedIndexChanged"
                            >
                            
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlKu"
                            ErrorMessage="*">*</asp:RequiredFieldValidator>
                    </td> 
                    <td class="tdLeft" style="width: 25%;">
                        <asp:Label ID="Label3" runat="server" Text="日期：" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtYday" runat="server" class="Wdate" 
                            onfocus="WdatePicker({isShowClear:false,readOnly:false})" Width="107px" 
                            ></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtYday"
                            ErrorMessage="*" >*</asp:RequiredFieldValidator>
                    </td>
                    
                    
                    
                    
                </tr>
            </table>
        </div>
        <div style="height: 10px;">
        </div>
        <div style="text-align: center;">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="ddlKu" EventName="SelectedIndexChanged">
            </asp:AsyncPostBackTrigger>
        </Triggers>
        <ContentTemplate>
           <div class="divStyle">
               <table cellpadding="0" cellspacing="0" width="40%" class="tab2">
                   <tr >
                       <td class="tdLeft" style="width: 9%;">
                        <asp:Label ID="Label6" runat="server" Text="品种" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="tdRight" style="width: 30%;">
                        <asp:DropDownList ID="ddlPinzhong" runat="server" Height="16px" Width="107px">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlPinzhong"
                            ErrorMessage="*" >*</asp:RequiredFieldValidator>
                        
                    </td>
                    
                   
                   </tr>
                   
                   
               </table>
           </div>
        </ContentTemplate>
    </asp:UpdatePanel>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                <tr>
                    <td class="tdLeft" style="width: 9%;">
                        <asp:Label ID="Label4" runat="server" Text="车数" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="tdRight" style="width: 30%;">
                        <asp:TextBox ID="txtCs" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtCs"
                            ErrorMessage="*">*</asp:RequiredFieldValidator>
                    </td>  
                    
                    
                    
                    
                </tr>
            </table>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle" style="text-align: right;">
            <asp:Button ID="btnOK" runat="server" Text="提交" Width="80px" onclick="btnOK_Click" 
                />
            &nbsp;&nbsp;&nbsp;&nbsp;
            
            <asp:Button ID="btnRepeat" runat="server" Text="重置" Width="80px" 
                CausesValidation="False" onclick="btnRepeat_Click"/>
            &nbsp;&nbsp;&nbsp;&nbsp;
        </div>
    </div>
    <div style="text-align: center; padding-top: 20px;">
        <br />
        <a href="#" onclick="javascript:window.history.go(-1);">
            <asp:Label ID="Label13" runat="server" Text="返回"></asp:Label></a>&nbsp;|&nbsp;
        <span class="tab1"><%=ConfigurationSettings.AppSettings["Copyright"] %></span>
    </div>
    </form>
</body>
</html>
